

package sdk.webview.fmc.com.fmcsdk.util;

/**
 * 常量类
 *
 * @author Evan
 */
public class Constant {


    //public static boolean isHaveNet;
  public static String H5ActivityUrl;
  public static boolean isBao;
  public static int allNum=1;
    public static boolean isSll;

    public static final String IS_SDK = "IS_SDK";

    //校验APK完整性crc的值
    public static final String DEXCRCC = "DEXCRCC";

    //是否为测试开发环境，如果是使用开发环境的自签证书将此值设为true打包即可
    public static final String IS_HTTPS_TEST = "IS_HTTPS_TEST";
    //是否打开H5的首页
    public static final String IS_H5_HOME = "IS_H5_HOME";
    public static final String FMC_DEBUG_CONNECT = "fmc_true";
    /**
     * app缩写名称
     */
    public static final String APP_NAME = "APP_NAME";
    /**
     * 宝安区app缩写名称
     */
    public static final String APP_NAME_BAQ = "baq";
    public static final String APP_NAME_LINK = "link";
    public static final String APP_NAME_FMS = "fms";
    public static final String APP_NAME_ZTE = "zte";
    public static final String APP_NAME_SZW = "szw";
    public static final String APP_NAME_XIYOU = "xiyou";
    public static final String APP_NAME_ZSJ = "zsj";
    public static final String APP_NAME_EAM = "eam";
    public static final String APP_NAME_ZY = "zy";
    public static final String APP_NAME_GMY = "gmy";
    /**
     * 数量
     */
    public static final String TASK_NUMBER = "task_number";
    /**
     * 消息数量
     */
    public static final String MESSAGE_NUMBER = "message_number";
    /**
     * 密码
     */
    public static final String PASSWORD = "password";
    /**
     * 是否已登录
     */
    public static final String ISLOGIN = "fmc_islogin";
    /**
     * 振动
     */
    public static final String VIBRATE = "vibrate";
    /**
     * 声音
     */
    public static final String SOUND = "sound";
    /**
     * 是否wifi上传
     */
    public static final String WIFI_UP = "wifi_up";
    /**
     * 开启调试模式
     */
    public static final String OPEN_START_MODE = "open_start_mode";
    /**
     * 每天登录活跃时间
     */
    public static final String LOGIN_TIME = "login_time";
    /**
     * 开启离线模式
     */
    public static final String OPEN_OFFLINE_MODE = "open_offLine_mode";
    /**
     * deviceID
     */
    public static final String DEVICE_ID = "deviceID";
    /**
     * 楼盘位置
     */
    public static final String BUID = "buid";

    public static final String SCAN_TO_OPEN_NFC = "scanToOpenNfc";

    /** 文档存储位置 */
//	public static final String STOREPATH = Environment.getExternalStorageDirectory().getAbsolutePath()+"/fmc/fmcsdk";
    /** 文档存储位置 */
//	public static final String STOREPATH = Environment.getExternalStorageDirectory().getAbsolutePath()+"/fmc/"+Utility.getMetaData(FMApplication.getInstance(),Constant.APP_NAME);
    /**
     * 更新APK存储位置
     */
    public static final String APKPATH = "/apk";
    /**
     * 下载的H5文件存储位置
     */
    public static final String H5FILEPATH = "/H5file";
    /**
     * 图片存储位置
     */
    public static final String IMAGEPATH = "/image";
    /**
     * 图片存储位置
     */
    public static final String H5IMAGEPATH = "/h5image";
    /**
     * 视频存储位置
     */
    public static final String H5VIDEOPATH = "/H5video";
    /**
     * log存储位置
     */
    public static final String LOGPATH = "/log";

    /**
     * 版本号
     */
    public static final String VERSION = "version";

    /**
     * 访问地址
     */
    public static final String ADDRESS = "address";
    /**
     * 保存的默认地址
     */
    public static final String FMC_DEFAULT_ADDRESS = "FMC_DEFAULT_ADDRESS";
    /**
     * 最后保存的地址地址
     */
    public static final String LAST_ADDRESS = "last_address";
    /**
     * 最后保存的用户名
     */
    public static final String LAST_LOGIN_NAME = "last_login_name";

    /**
     * 是否检查初始密码
     */
    public static final String ISCHECKPSD = "isCheckPsd";

    /**
     * 设置标题和首页待办背景图片的下载路径名称
     */
    public static final String MAIN_BG = "MainBG";
    /**
     * 设置启动页背景图片的下载路径名称
     */
    public static final String START_BG = "StartBG";
    /**
     * 设置登录背景图片的下载路径名称
     */
    public static final String LOGIN_BG = "LoginBG";
    /**
     * 设置关于背景图片的下载路径名称
     */
    public static final String ABOUT_BG = "AboutBG";
    /**
     * 首次登录APP
     */
    public static final String FIRST_OPEN = "firstOpen";

    public static final String FIRST_OPEN_AGREE = "firstOpenAgree";  //是否同意了隐私协议

    /**
     * 首次提示消息设置
     */
    public static final String FIRST_NOTICE = "FIRST_NOTICE";
    /**
     * 是否浏览过协议
     */
    public static final String LOOK_AGREEMENT = "LOOK_AGREEMENT";
    /**
     * 强弱密码设置，0是弱密码1是强密码
     */
    public static final String PSD_LEVEL = "psd_level";
    /**
     * 是否强制修改强弱密码
     */
    public static final String PSD_MODIFIY = "PSD_MODIFIY";
    /**
     * 登录时的用户名，只用来回显
     */
    public static final String LOGIN_NAME = "login_name";
    /**
     * H5是否显示标题栏
     */
    public static final String HIDE_HEADER = "hideH5Header";
    /**
     * H5标题栏名称
     */
    public static final String H5_TITLE = "h5_title";
    /**
     * 要加载的H5网页
     */
    public static final String H5_URL = "h5_url";
    /**
     * 离线是否下载图片
     */
    public static final String OFFLINE_IS_UPLOADIMAGE = "offlineIsUploadImage";
    /**
     * /**
     * 消息回执
     */
    public static final String H5_RECEIPT = "h5_receipt";
    /**
     * 消息id
     */
    public static final String H5_MESSAGE_ID = "h5_message_id";

    /**
     * 日志等级
     */
    public static final String LOGLEVEL = "loglevel";

    /**
     * activity是否全部退出
     */
    public static final String ACTIVITY_IS_EXIST = "ActivityIsExist";
    /**
     * 消息链接
     */
    public static final String MESSAGEURL = "messageUrl";
    /**
     * 抢单提示音url
     */
    public static final String SOUND_GRAB_URL = "sound_grab_url";
    public static final String SOUND_EXPIRE_URL = "sound_expire_url";
    /**
     * 抢单提示音名称
     */
    public static final String SOUND_GRAB_NAME = "sound_grab_name";
    /**
     * 新任务提示音url
     */
    public static final String SOUND_NEW_URL = "sound_new_url";
    /**
     * 新任务提示音名称
     */
    public static final String SOUND_NEW_NAME = "sound_new_name";

    /**
     * 消息公告提示音url
     */
    public static final String SOUND_MESSAGE_URL = "sound_message_url";
    /**
     * 消息公告提示音名称
     */
    public static final String SOUND_MESSAGE_NAME = "sound_message_name";
    /**
     * 工单过期提示音名称
     */
    public static final String SOUND_EXPIRE_NAME = "sound_expire_name";
    /**
     * APP是否在前台
     */
    public static final String ISFOREGROUND = "isforeground";
    /**
     * 版本ID
     */
    public static final String VERSIONID = "versionId";
    /**
     * 版本时间
     */
    public static final String FMC_VERSION_TIME = "FMC_VERSION_TIME";
    /**
     * 头像
     */
    public static final String SRCAVATAR = "srcavatar.jpg";
    /**
     * 临时头像
     */
    public static final String TEMPSRCAVATAR = "tempsrcavatar.jpg";
    //关于H5图片上传的常亮
    /**
     * 图片的时间戳
     */
    public static final String TIMESTAMP = "timeStamp";
    /**
     * 返回base64文件的结果
     */
    public static final String BASE64_RESULT = "result";
    /**
     * base64文件的大小
     */
    public static final String BASE64_FILESIZE = "fileSize";
    /**
     * 图片上传的标识
     */
    public static final String BASE64_CODE = "code";

    /**
     * 图片上传的name
     */
    public static final String UPLOAD_IAMGE_NAME = "imagName";

    /**
     * 图片上传的本地地址
     */
    public static final String UPLOAD_IAMGE_LOCAL_PATH = "imaglocalpath";
    /**
     * 离线图片上传中
     */
    public static final String UPLOAD_IMAGE_ING = "uploadImageIng";
    /**
     * 离线图片上传完成
     */
    public static final String UPLOAD_IMAGE_COMPLETE = "uploadImageComplete";
    /**
     * 如果是仅wifi上传要在首页提醒
     */
    public static final String UPLOAD_IMAGE_ISWIFIUP = "uploadImageIsWifiUp";
    /**
     * 注销要关闭GPS定位
     */
    public static final String LOGOUT_CLOSE_GPS = "LOGOUT_CLOSE_GPS";
    /**
     * 定位详细信息
     */
    public static final String LON_LAT_DESC = "LON_LAT_DESC";
    /**
     * 定位详细信息
     */
    public static final String LON_SHISHI_LAT_DESC = "LON_SHISHI_LAT_DESC";

    /**
     * 定位详细信息地址信息
     */
    public static final String LON_LAT_DESC_ADDR = "LON_LAT_DESC_ADDR";
    /**
     * 更新消息数量
     */
    public static final String UPLOAD_MESSAGE_NUMBER = "uploadMessageNumber";
    /**
     * 有网络连接
     */
    public static final String NOT_HAVE_CONNECT = "notHaveConnect";
    /**
     * 无网络连接
     */
    public static final String HAVE_CONNECT = "haveConnect";
    /**
     * 离线图片的数量
     */
    public static final String IMAGECOUNT = "imageCount";
    /**
     * 清理localStorage缓存
     */
    public static final String CLEAR_LOCAL_STORAGE = "clearLocalStorage";
    /**
     * 离线数据是否上传
     */
    public static final String UPLOADED_OFFLINE_DATA = "uploadedOfflineData";
    /**
     * 图片网络上传
     */
    public static final String UPLOAD_IMAGE_NETWORK = "2";
    /**
     * 图片base64上传
     */
    public static final String UPLOAD_IMAGE_BASE64 = "1";
    /**
     * 视频上传
     */
    public static final String UPLOAD_VIDEO_SUCCESS = "3";

    /**
     * 视频上传
     */
    public static final String UPLOAD_VIDEO_NETWORK = "4";
    /**
     * 首页模块每一页的数量
     */
    public static final float VIEWPAGER_PAGE_SIZE = 4.0f;
    //测试模块
    public static final String H5_TEST = "h5_test";
    //拍照编辑成功
    public static final int EDITIMAGE_OK = 10;
    /**
     * 信号值
     */
    public static final String SIGNAL_VALUE = "signal_value";/**信号值*/
    /**
     * 4g强弱网转换的默认值
     */
    public static final int DEFAULT_VALUE_MOBLIE = 2;
    /**
     * wifi强弱网转换的默认值
     */
    public static final int DEFAULT_VALUE_WIFI = -70;

    public static final String BASE_ADDRESS_URL = "base_address_url";

    public static final String STANDARD = "standard";

    public static final String IMAGE_SIZE = "image_size";
    public static final String RECORD_VIDEO_OK = "RECORD_VIDEO_OK";
    public static final String ISSHOWAVATAR = "ISSHOWAVATAR";
    public static final String JPUSH_ALIAS = "JPUSH_ALIAS";


    public static final String IS_LINK_OSS_LOGIN = "IS_LINK_OSS_LOGIN";




    public static final int PHOTO_CAMERA = 10001;
    public static final int PHOTO_PHOTO = 10002;


}